<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="../css/admin-style.css" rel='stylesheet' type='text/css' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>用户登录</title>

<!--//webfonts-->

</head>
<body>
	<!-----start-main---->
	<div style="text-align: right;margin-right: 10px;margin-top: 10px;">
		欢迎您:<a href="#">${admin.adminName }</a>|<a href="exitAdmin">安全退出</a>|<a href="adminRegist">添加管理员</a>
	</div>
	<div class="main">
		<h1>人事档案管理系统</h1>
		<div class="main-form">
			<div class="head">
			<div style="height:40px;"></div>
				<img src="<%=basePath %>/images/user.png" alt="" /> 
				<a target="iframepage" href="showDept">
				  <button>部门管理</button>
				</a>
				<a target="iframepage" href="getByPage">
				  <button>员工管理</button>
				</a>

			</div>

			<form>
				<iframe class="iframepage" id="iframepage" name="iframepage"
					src="<%=basePath%>admin/index.html"
					style="width: 100%;margin-top: 3px;height: 600px;" spellcheck="false" onscroll="no"></iframe>
			</form>
		</div>
		<!--//End-login-form-->
		<!-----start-copyright---->
		<div class="copy-right">
			<p>
				版权所有&copy; <a href="#">WYQ</a>
			</p>
		</div>
		<!-----//end-copyright---->
	</div>
	<!-----//end-main---->

</body>
</html>